<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="planeaciones form">
<?php echo $this->Form->create('Planeacione');
	$meses = array(1=>"Enero",2=>"Febrero",3=>"Marzo",4=>"Abril",5=>"Mayo",6=>"Junio",7=>"Julio",8=>"Agosto",
			9=>"Septiembre",10=>"Octubre",11=>"Noviembre",12=>"Diciembre");
	$numero_dias = date("t", mktime(0,0,0, $mes , 1, date('Y')));
	$dias = array();
	for ($i=1; $i<=$numero_dias; $i++)
		$dias[$i] = $i;
		
?>
	<fieldset>
 		<legend><?php __('Agregar Actividad'); ?></legend>
 		<div class="actions" align="right">
			<ul>
				<li><?php echo $html->link(__('Regresar', true), array('action'=>'calendar')); ?></li>
			</ul>
		</div>
		<div>
 		<h4><?php echo "Usuario: ".$users[$user_id]; ?></h4>
	 	</div> 		
 		<table>
 			<tr>
 				<td><?php echo $this->Form->label('Fecha de la actividad');?></td>		
 			</tr>
 			<tr>
 				<td><span style="font-size:18px; color: #0b680d;"><?php echo $meses[$mes];?> - D&iacute;a:</span> <?php echo $this->Form->select('dia',array($dias),null,array(),false);?></td>
 			</tr>
 		</table>
 		<table>
 			<tr>
 				<td><?php echo $this->Form->input('tipo_actividad');
 				?></td>
 				<td><?php  						
 						echo $this->Form->label('Actores');
 						echo $this->Form->input('circulos_aprendizaje_id', array('type' => 'select', 'multiple' => true));
 					?>
 				</td>
 			</tr>
 			<tr> 				
 				<td><?php echo $this->Form->input('enfasis');?></td>
 				<td><?php echo $this->Form->input('descripcion');?></td>
 			</tr>
 			<tr>
 				<td><?php echo $this->Form->input('recursos');?></td>
 				<td><?php echo $this->Form->input('resultados_esperados');?></td> 				
 			</tr> 			 		
		</table>
	</fieldset>
<?php echo $this->Form->input('mes', array('type'=>'hidden', 'value'=>$mes)); ?>
<?php echo $this->Form->input('user_id', array('type'=>'hidden', 'value'=>$user_id)); ?>
<?php echo $this->Form->input('estado', array('type'=>'hidden', 'value'=>'Programado')); ?>
<?php echo $this->Form->end(__('Guardar', true));?>	
</div>